# encap
class BackAccount:
    def __init__(self, number, holder, balance, phone):
        self.__account_number = number
        self.account_holder = holder
        self.__balance = balance
        self.__phone = phone
    def get_phone(self):
        return self.__phone
    def set_phone(self,phone):
        self.__phone = phone
    def get_account_number(self):
        return self.__account_number
    def get_balance(self):
        return self.__balance
    def __add_amount(self, amount):
        self.__balance += amount
    def __del_amount(self,amount):
        self.__balance -= amount
    def cunkuan(self, num):
        if num > 0:
            self.__add_amount(num)
            print('yes:', self.__balance)
        else:
            print('NO: num Error')
    def qukuan(self, num):
        if self.__balance >= num and num > 0:
            self.__del_amount(num)
            print('yes:', self.__balance)
        elif self.__balance < num:
            print('not balance')
        else:
            print('NO: num Error')

if __name__ == '__main__':
    a1 = BackAccount('532222', 'tom', 1000, 18989898989)
    print(a1.get_account_number(), a1.account_holder, a1.get_balance())
    a2 = BackAccount('544444', 'jenkins', 500, 16789788989)
    a2.cunkuan(1000)
    print('a2-phone:', a2.get_phone())
    a2.set_phone(12323232323)
    print('ga2-phone:', a2.get_phone())
    a2.qukuan(500)